package com.aspose.cells;

import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.print.PageFormat;
import java.awt.print.Printable;

class zaso implements Printable {
   boolean a;
   com.aspose.cells.a.d.zat b;
   zan c;

   zaso(zan var1, com.aspose.cells.a.d.zat var2, boolean var3) {
      this.c = var1;
      this.b = var2;
      this.a = var3;
   }

   public int print(Graphics graphic, PageFormat arg1, int pageIndex) {
      Graphics2D var4 = (Graphics2D)graphic;
      var4.scale(0.75D, 0.75D);

      try {
         if (this.a) {
            this.b.b();
         }

         this.b.b((com.aspose.cells.a.d.zl)this.c, var4);
      } catch (Exception var6) {
         var6.printStackTrace();
      }

      return 0;
   }
}
